package Flink;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Author: leiwenkang02
 * @Date: 2020/3/14 7:45 下午
 */
public class TimeUtil {
    public static String getStringDate(long timestamp) {
        return new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").
                format(new Date(timestamp));
    }
}
